package tk.jfree.example.es.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author Cheng.Wei
 * @date 2019/04/28 23:14
 */
@Getter
@Setter
@ToString
@ApiModel
public class PageParam implements Serializable {
    private static final long serialVersionUID = 1732599792937348177L;
    /**起始页*/
    @ApiParam(defaultValue = "1")
    private Integer pageNum;
    /**每页数量*/
    @ApiParam(defaultValue = "20")
    private Integer pageSize;
}
